package cn.lookup.dao;

import cn.lookup.domain.User;

import java.util.List;

public interface UserDao {
    List<User> getUserList();

    Long submitAdd(User user);

    void submitRoleAndUserRelations(Long roleId, Long userId);

    void deleteRoleAndUserRelationship(Long userId);

    void deleteUserById(Long userId);
}
